#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int h, m,flag,i;
	scanf("%d:%d", &h, &m);
	if (h > 12)
	{
		flag = h - 12;
		if (m > 0)
		{
			flag++;
		}
		for (i = 0; i < flag; i++)
		{
			printf("Dang");
		}
	}
	else
	{
		printf("Only %02d:%02d.  Too early to Dang.",h,m);
	}
}
